package com.jicheng.entity;

import com.jicheng.ext.BaseEntity;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.persistence.Column;
import javax.persistence.Id;
import javax.persistence.Table;
import java.io.Serializable;
import java.util.Date;

@Data
@Table(name = "family_main_member")
public class FamilyMainMember implements Serializable {
    private static final long serialVersionUID = 1L;
    /**
     * id
     */
    @Id
    @Column(name = "id")
    private String id;
     /**
      * 填报id
     */
    @Column(name = "report_id")
    private String reportId;
    /**
     * 终端id  appId
     */
    @Column(name = "app_id")
    private String appId;
    /**
     * 称谓
     */
    @ApiModelProperty(value = "称谓")
    @Column(name = "appellation")
    private String appellation;
    /**
     * 姓名
     */
    @ApiModelProperty(value = "姓名")
    @Column(name = "name")
    private String name;
    /**
     * 政治面貌
     */
    @ApiModelProperty(value = "政治面貌")
    @Column(name = "political_face")
    private String politicalFace;
    /**
     * 身份证号码
     */
    @ApiModelProperty(value = "身份证号码")
    @Column(name = "id_number")
    private String idNumber;
    /**
     * 工作单位及职务
     */
    @ApiModelProperty(value = "工作单位及职务")
    @Column(name = "work_unit")
    private String workUnit;

    @Column(name = "cadre_id")
    private String cadreId;
    @Column(name = "create_time")
    private Date createTime;

    @Column(name = "card_id")
    private String cardId;
}